require('../init/buildGlobal')

var hotelService = rootRequire('services/hotelService')
var bookService  = rootRequire('services/bookingService')
var myService  = rootRequire('services/myService')
//hotelService.getMainHotel('ydcun',function(err,res,body){
//    console.log(body)
//})

//bookService.getReserveRoom({
//    hotelno:'sdcs',
//    beginDate:'2015-12-06 18:00:00',
//    endDate:'2015-12-08 12:00:00',
//},function(err,body){
//    console.log(body)
//})

myService.getCommentList({
    hotelno:'sdcs',
    phone:'13761123573'
},function(err,body){
    console.log(err,body)
})

//myService.getOrderInfoList({
//    hotelno:'sdcs',
//    phone:'13761123573'
//},function(err,body){
//    console.log(err,body)
//})